<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .circle {
      position: relative;
      margin: 0 auto;
      width: 88px;
      height: 88px;
      border: 4px solid red;
      border-image: linear-gradient(to right, #8f41e9, #578aef) 0 1 0 1;
      border-radius: 100px;
      overflow: hidden;
    }

    .sub-circle {
      width: 100px;
      height: 100px;
      background: #00ff00;
    }
  </style>
</head>
<body>
<div class="circle">
  <div class="sub-circle">

  </div>
</div>
</body>
</html>
